package cn.ibdsr.human.db.mapper;

import cn.ibdsr.human.db.model.Notification;
import cn.ibdsr.human.transfer.companyrecommend.CompanyRecommendDTO;
import cn.ibdsr.human.transfer.notification.NotificationDTO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 通知表 Mapper 接口
 * </p>
 *
 * @author cdl
 * @since 2022-03-26
 */
public interface NotificationMapper extends BaseMapper<Notification> {
    /**
     * 分页获取通知
     *
     * @param page
     * @return
     */

    List<NotificationDTO> listNoticafition(
            @Param("page") Page<NotificationDTO> page,
            @Param("isPublish") Integer isPublish);
}
